<%@page import="com.kaishengit.entity.User"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'list.jsp' starting page</title>
    

  </head>
  
  <body>
  	<a href="user.jspx?_method=_add">add User</a>
  	<br/>
   <%
   		List<User> list = (List<User>)request.getAttribute("list");
   		for(User user : list) {
    %>
    	<%=user.getName() %><br/>
    <%} %>
  </body>
</html>
